package org.rcgwt.client.ui.validator;

/**
 * A Translator interface which provides a translate method.
 * 
 * @author Elian ORIOU
 * 
 */
public interface ITranslator extends IValidatorElement {
	/**
	 * Analyzes the current keyboard character (passed as a string) and return
	 * the translated character
	 * 
	 * @param context
	 * @param f
	 *            The character to analyze
	 * 
	 * @return The character analyzed
	 */
	char translate(IClientValidatorContext context, char f);
}
